# 求0-100之间偶数和 奇偶判断 看余数是否为0
result = 0
i = 0
while i <=100:
    if i % 2 == 0:
        print(i)
        result += i
    i += 1
print(result)